package groupb6.shopsystem.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class Message {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("发送者id")
    private Integer sendId;
    @ApiModelProperty("接收者id")
    private Integer receiveId;
    @ApiModelProperty("信息内容")
    private String message;
    @ApiModelProperty("发送时间")
    private Timestamp time;
    @ApiModelProperty("已读或未读")
    private Boolean status;

}
